package com.example.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * ClassName:RoomAddDTO
 * Package:com.example.dto
 * User:HP
 * Date:2025/8/25
 * Time:下午8:40
 * Author 周东汉
 * Version 1.0
 * Description:
 */

@Data
public class RoomAddDTO {

    @NotNull(message = "所属图书馆不能为空")
    private Long libraryId;

    @NotBlank(message = "房间名称不能为空")
    private String name;

    @NotNull(message = "房间类型不能为空")
    private Integer roomType;

}
